This signal relied on mutter changes that were withdrawn
and it was unintended to use here. Restore the usage of
good old MetaDisplay::x11-display-closing.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1056
null);
return true;
});
- global.display.connect('shutdown-xserver', (display, task) => {
+ global.display.connect('x11-display-closing', () => {
Shell.util_stop_systemd_unit('gsd-xsettings.target', 'fail');
IBusManager.getIBusManager().restartDaemon();
- task.return_boolean(true);
});
Main.overview.connect('showing', () => {